<template lang="html">
<div class="">
  <ul class="ul">
    <router-link class="bgcolor" tag="li" :to="{path:'/ul'}">router1</router-link>
    <router-link class="bgcolor" tag="li" :to="{path:'/ul2'}">router2</router-link>
  </ul>
</div>
</template>

<script>
export default {
}
</script>

<style lang="css">
.ul{
  display: block;
  width: 100%;
  height: 40px;
}
.bgcolor{
  list-style: none;
  float: left;
  padding: 5px 10px;
  background: #ccc;
  color: #fff;
  margin: 0 5px;
}
li{
  list-style: none;
}
</style>
